package com.nopay.dxdwphone.ui.adapter;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

import com.nopay.dxdwphone.R;


/**
 * Created by xukai on 2019/8/13.
 */
public class OneTextviewStringAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public OneTextviewStringAdapter(@Nullable List<String> data) {
        super(R.layout.item_one_string_textview, data);

    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, String item) {
        helper.setText(R.id.tv_item_only_one_string_textview, item);
    }

}
